package com.example.ai.service.dto;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author : zhayh
 * @date : 2021-4-24 19:35
 * @description :
 */

@Data
@NoArgsConstructor
public class RoommateFaceDTO extends Roommate{
    private FaceItem faceItem;

    public RoommateFaceDTO(Roommate roommate,FaceItem faceItem) {
        this.faceItem = faceItem;
        this.setId(roommate.getId());
        this.setRoomNickname(roommate.getRoomNickname());
        this.setSaySomething(roommate.getSaySomething());
        this.setStudentCode(roommate.getStudentCode());
    }
}
